<template>
  <div class="lix-charge">
    <div class="lix-charge__header">
      虎扑币余额：<span>0虎扑币</span>
    </div>
    <div class="lix-charge__listwrap">
      <div class="title">充值虎扑币</div>
      <div class="lix-charge__listcontainer">
        <div v-for="(item, idx) in list" :key="idx" class="lix-charge__list" @click="onClick">
          <span>{{ item.count }}<span class="unit">虎扑币</span></span>
          <div class="price">￥{{ item.price }}</div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      list: [
        {count: 42, price: 6},
        {count: 126, price: 18},
        {count: 210, price: 30},
        {count: 476, price: 68},
        {count: 896, price: 128},
        {count: 3626, price: 518}
      ]
    };
  },

  onLoad() {

  },

  methods: {
    onClick(e) {
      console.log('点击充值！');
    }
  }
};
</script>

<style lang="scss">
@import "../theme-chalk/charge.scss";
page {
  height: 100%;
}
</style>